package top.codedance.iotp.registy.net.handle.entity;

public class ActiveOnlineRegisty {
    private String registyUrl;
    private boolean healthy;
    private int load;
    private int score;

    public ActiveOnlineRegisty(String registyUrl, boolean healthy, int load, int score) {
        this.registyUrl = registyUrl;
        this.healthy = healthy;
        this.load = load;
        this.score = score;
    }

    public String getRegistyUrl() {
        return registyUrl;
    }

    public void setRegistyUrl(String registyUrl) {
        this.registyUrl = registyUrl;
    }

    public boolean isHealthy() {
        return healthy;
    }

    public void setHealthy(boolean healthy) {
        this.healthy = healthy;
    }

    public int getLoad() {
        return load;
    }

    public void setLoad(int load) {
        this.load = load;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }
}
